﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="submit2.aspx.cs" Inherits="orgman_models_submit2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <div id="content">
            
            <div class="modi">
                <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:appConnectionString %>" 
                    SelectCommand="SELECT * FROM [model] WHERE ([modelid] = @modelid)">
                    <SelectParameters>
                        <asp:QueryStringParameter Name="modelid" QueryStringField="modelid" 
                            Type="Int32" />
                    </SelectParameters>
                </asp:SqlDataSource>
            <asp:DetailsView ID="DetailsView1" runat="server" Height="50px" Width="100%" 
                    AutoGenerateRows="False" BackColor="White" BorderColor="#3366CC" 
                    BorderStyle="None" BorderWidth="1px" CellPadding="4" DataKeyNames="modelid" 
                    DataSourceID="SqlDataSource2">
                <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                <RowStyle BackColor="White" ForeColor="#003399" />
                <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
                <Fields>
                    <asp:BoundField DataField="modelid" HeaderText="模型ID：" InsertVisible="False" 
                        ReadOnly="True" SortExpression="modelid" >
                        <HeaderStyle HorizontalAlign="Right" Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="modelname" HeaderText="模型名称：" 
                        SortExpression="modelname" >
                        <HeaderStyle HorizontalAlign="Right" Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="creator" HeaderText="创建者：" SortExpression="creator" >
                        <HeaderStyle HorizontalAlign="Right" Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="createdtime" HeaderText="创建时间：" 
                        SortExpression="createdtime" >
                        <HeaderStyle HorizontalAlign="Right" Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="target" HeaderText="目标（层）：" SortExpression="target" >
                        <HeaderStyle HorizontalAlign="Right" Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="description" HeaderText="备注：" 
                        SortExpression="description" >
                        <HeaderStyle HorizontalAlign="Right" Width="100px" />
                    </asp:BoundField>
                    <asp:HyperLinkField Text="&lt;img src='../../images/submit.gif' alt='提交' /&gt;" 
                        DataNavigateUrlFields="modelid" 
                        DataNavigateUrlFormatString="dosubmit.aspx?modelid={0}" />
                </Fields>
                <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                <EditRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
            </asp:DetailsView>
            </div>
        </div>
    
    </div>
    </form>
</body>
</html>
